package com.jkoss.wine.warehouse.service.impl;

import com.jkoss.wine.warehouse.entity.WareTransferOrderDetails;
import com.jkoss.wine.warehouse.mapper.WareTransferOrderDetailsMapper;
import com.jkoss.wine.warehouse.service.IWareTransferOrderDetailsService;
import com.baomidou.mybatisplus.mapper.SqlHelper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.stereotype.Service;

/**
 * 仓库调拨单详情 服务实现类
 * 
 * @Author Jason
 * @Version 1.0, 2018-11-30
 * @See
 * @Since com.jkoss.wine.warehouse.service.impl
 * @Description: TODO
 */
@Service
public class WareTransferOrderDetailsServiceImpl extends ServiceImpl<WareTransferOrderDetailsMapper, WareTransferOrderDetails> implements IWareTransferOrderDetailsService {
	@Override
	public Page selectVoByPage(Page page, Wrapper wrapper) {
		SqlHelper.fillWrapper(page, wrapper);
		page.setRecords(baseMapper.selectVoByPage(page, wrapper));
		return page;
	}

	@Override
	public List selectVoByIoid(Wrapper wrapper) {
		return baseMapper.selectVoByIoid(wrapper);
	}
}
